<?php

use Carbon\Carbon;
use Illuminate\Database\Seeder;

class CompaniesTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
    	$companies = [
    		[
    			'title' => 'Bettrde Inc.',
    			'legal' => 'George',
    			'city' => '上海市',
    			'address' => 'Shanghai Jiading',
    			'telephone' => '021-28889842',
    			'email' => 'george@betterde.com',
    			'certificate' => '/certificate/image/jfiwefoewjofwefe.jpg',
    			'introduction' => 'Better Design Better Details Better Develop',
    			'status' => 'pending',
    			'created_at' => Carbon::now(),
    			'updated_at' => Carbon::now()
			],[
    			'title' => 'Apple Inc.',
    			'legal' => 'George',
    			'city' => '上海市',
    			'address' => 'Shanghai Jiading',
    			'telephone' => '021-28889842',
    			'email' => 'george@betterde.com',
    			'certificate' => '/certificate/image/jfiwefoewjofwefe.jpg',
    			'introduction' => 'Better Design Better Details Better Develop',
    			'status' => 'pending',
    			'created_at' => Carbon::now(),
    			'updated_at' => Carbon::now()
			],[
    			'title' => 'George Inc.',
    			'legal' => 'George',
    			'city' => '上海市',
    			'address' => 'Shanghai Jiading',
    			'telephone' => '021-28889842',
    			'email' => 'george@betterde.com',
    			'certificate' => '/certificate/image/jfiwefoewjofwefe.jpg',
    			'introduction' => 'Better Design Better Details Better Develop',
    			'status' => 'pending',
    			'created_at' => Carbon::now(),
    			'updated_at' => Carbon::now()
			],[
    			'title' => 'Facebook Inc.',
    			'legal' => 'George',
    			'city' => '上海市',
    			'address' => 'Shanghai Jiading',
    			'telephone' => '021-28889842',
    			'email' => 'george@betterde.com',
    			'certificate' => '/certificate/image/jfiwefoewjofwefe.jpg',
    			'introduction' => 'Better Design Better Details Better Develop',
    			'status' => 'pending',
    			'created_at' => Carbon::now(),
    			'updated_at' => Carbon::now()
			],[
    			'title' => 'WalMart Inc.',
    			'legal' => 'George',
    			'city' => '上海市',
    			'address' => 'Shanghai Jiading',
    			'telephone' => '021-28889842',
    			'email' => 'george@betterde.com',
    			'certificate' => '/certificate/image/jfiwefoewjofwefe.jpg',
    			'introduction' => 'Better Design Better Details Better Develop',
    			'status' => 'pending',
    			'created_at' => Carbon::now(),
    			'updated_at' => Carbon::now()
			],
		];

    	DB::table('companies')->insert($companies);
    }
}
